package study.singleton;

public enum EnumSingleton {

    SINGLETTON;
    public  Object data;
    public Object getObject(){
        return data;
    }

    public static EnumSingleton getInstance(){
        return SINGLETTON;
    }
}
